<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>警示框</title>
    <link rel="stylesheet" href="../../css/bootstrap.css">
    <script src="../../js/jquery-1.11.2.min.js"></script>
    <script src="../../js/bootstrap.min.js"></script>
    <style>
        body{
            padding: 100px;
        }
    </style>
</head>
<body>
<div class="alert alert-danger">警示框 </div>
<div class="alert alert-info">警示框 </div>
<div class="alert alert-warning">警示框 </div>
<div class="alert alert-danger">警示框 </div>
<hr>

<!--alert-dismissable 样式-->
<div class="alert alert-danger alert-dismissable">
    警示框
    <button class="close" data-dismiss="alert">&times;</button>
</div>

<div class="alert alert-danger alert-dismissable">
    警示框
   <a href="https://www.baidu.com">百度</a>
</div>
</body>
</html>
